<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>参考链接：https://www.zhangxinxu.com/wordpress/2020/09/svg-text-around-path/</title>
</head>

<body>
    <svg viewBox="0 0 300 150" height="150">
        <path id="circle" stroke="deepskyblue" fill="none" d="M90 75a60 60 0 1 0 120 0a60 60 0 1 0 -120 0z" />
        <text>
            <textPath href="#circle">这是一段环绕文字哈哈哈</textPath>
        </text>
    </svg>
</body>

</html>